const sequelize = require("./db")
const {DataTypes} = require('sequelize');

const boke = sequelize.define('boke', {
    Boketit: {
        type: DataTypes.STRING,
        allowNull: false
    },
    Bokecontent: {
        type: DataTypes.TEXT("long"),
        allowNull: false
    },
    // Boketextcontent:{
    //     type: DataTypes.TEXT("long"),
    //     allowNull: false
    // },
    ReleaseTime: {
        type: DataTypes.STRING,
        allowNull: false
    },
    Reading: {
        type: DataTypes.STRING,
        allowNull: false
    },
    fenlei: {
        type: DataTypes.STRING,
        allowNull: true
    },

}, {
    paranoid: true,
});

module.exports = boke